package xin.marcher.module.diplomacy.api;

import xin.marcher.module.common.core.JsonResult;
import xin.marcher.module.diplomacy.domain.dto.ProductPurchaseCollectDTO;
import xin.marcher.module.diplomacy.domain.dto.ProductPurchaseRelationDTO;
import xin.marcher.module.diplomacy.domain.query.ProductPurchaseQuery;
import xin.marcher.module.diplomacy.domain.query.ProductPurchaseRelationQuery;

/**
 * 商品可采接口
 */
public interface ProductPurchaseApi {

    /**
     * 分页查询可采商品
     *
     * @param productPurchaseQuery
     * @return
     */
    JsonResult<ProductPurchaseCollectDTO> getPurchaseSkuByPage(ProductPurchaseQuery productPurchaseQuery);

    /**
     * 根据卖家组ID和商品编码判断商品是否可采
     *
     * @param productPurchaseRelationQuery
     * @return
     */
    JsonResult<ProductPurchaseRelationDTO> checkPurchaseSku(ProductPurchaseRelationQuery productPurchaseRelationQuery);

}
